import com.md.entity.Cord;
import com.md.mapper.CordMapper;
import com.md.untils.mybatis;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

import java.io.IOException;
import java.util.List;

public class cord {
    @Test
    public void cordSel() throws IOException {
        SqlSession sqlSession = mybatis.OpenSession();
        CordMapper mapper = sqlSession.getMapper(CordMapper.class);
        List<Cord> cords = mapper.cordSel();
        System.out.println(cords);
    }
}
